package com.molichuxing.services.infrastructure.service;

import com.molichuxing.services.infrastructure.dto.request.create.MessageContentCreateDto;
import com.molichuxing.services.infrastructure.dto.response.MessageContentDto;

import java.util.List;

/**
 * @Author: renzhengyu
 * @Description: 消息内容service
 * @Date: Created in 10:35 2019/10/10
 * @Modified By:
 **/
public interface MessageContentService {

    /**
     * 批量添加消息内容
     * @return
     */
    int createMessageContentList(List<MessageContentCreateDto> messageContentCreateList);


    /**
     * 根据消息id查询消息内容
     * @param centerId
     * @return
     */
    List<MessageContentDto> getMessageContentByCenterId(Integer centerId);
}
